package com.wanmait.wisdom.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.wanmait.wisdom.entity.Car;
import lombok.Data;

import java.util.Date;

public interface WebCarService extends IService<Car> {
    void insertCar(Car car);
    PageInfo<Car> selectAllCar(Car car, Date startTime,Date endTime, Integer pageNum, Integer pageSize);
    Car selectById(Integer id);

    default void deleteById(Integer id) {
    }
    }